package domain

import (
	"gitee.com/cjsn/topsdk/util"
)

type TmallServicecenterServicemonitormessageSearchServiceMonitorMessage struct {
	/*
	   消息id     */
	Id *int64 `json:"id,omitempty" `

	/*
	   提醒文本     */
	Content *string `json:"content,omitempty" `

	/*
	   预警消息级别 1、预警 2、警告 3、严重     */
	Level *int64 `json:"level,omitempty" `

	/*
	   备注     */
	Memo *string `json:"memo,omitempty" `

	/*
	   消息创建时间     */
	GmtCreate *util.LocalTime `json:"gmt_create,omitempty" `

	/*
	   状态 0、已生成 1、已预警 2、已收到 3、已读     */
	Status *int64 `json:"status,omitempty" `

	/*
	   规则类型     */
	RuleId *string `json:"rule_id,omitempty" `

	/*
	   服务类型     */
	ServiceCode *string `json:"service_code,omitempty" `

	/*
	   bizId的业务实体类型，如果为1，则bizId为工单id     */
	BizType *int64 `json:"biz_type,omitempty" `

	/*
	   业务实体id     */
	BizId *int64 `json:"biz_id,omitempty" `
}

func (s *TmallServicecenterServicemonitormessageSearchServiceMonitorMessage) SetId(v int64) *TmallServicecenterServicemonitormessageSearchServiceMonitorMessage {
	s.Id = &v
	return s
}
func (s *TmallServicecenterServicemonitormessageSearchServiceMonitorMessage) SetContent(v string) *TmallServicecenterServicemonitormessageSearchServiceMonitorMessage {
	s.Content = &v
	return s
}
func (s *TmallServicecenterServicemonitormessageSearchServiceMonitorMessage) SetLevel(v int64) *TmallServicecenterServicemonitormessageSearchServiceMonitorMessage {
	s.Level = &v
	return s
}
func (s *TmallServicecenterServicemonitormessageSearchServiceMonitorMessage) SetMemo(v string) *TmallServicecenterServicemonitormessageSearchServiceMonitorMessage {
	s.Memo = &v
	return s
}
func (s *TmallServicecenterServicemonitormessageSearchServiceMonitorMessage) SetGmtCreate(v util.LocalTime) *TmallServicecenterServicemonitormessageSearchServiceMonitorMessage {
	s.GmtCreate = &v
	return s
}
func (s *TmallServicecenterServicemonitormessageSearchServiceMonitorMessage) SetStatus(v int64) *TmallServicecenterServicemonitormessageSearchServiceMonitorMessage {
	s.Status = &v
	return s
}
func (s *TmallServicecenterServicemonitormessageSearchServiceMonitorMessage) SetRuleId(v string) *TmallServicecenterServicemonitormessageSearchServiceMonitorMessage {
	s.RuleId = &v
	return s
}
func (s *TmallServicecenterServicemonitormessageSearchServiceMonitorMessage) SetServiceCode(v string) *TmallServicecenterServicemonitormessageSearchServiceMonitorMessage {
	s.ServiceCode = &v
	return s
}
func (s *TmallServicecenterServicemonitormessageSearchServiceMonitorMessage) SetBizType(v int64) *TmallServicecenterServicemonitormessageSearchServiceMonitorMessage {
	s.BizType = &v
	return s
}
func (s *TmallServicecenterServicemonitormessageSearchServiceMonitorMessage) SetBizId(v int64) *TmallServicecenterServicemonitormessageSearchServiceMonitorMessage {
	s.BizId = &v
	return s
}
